package com.leyou.item;

import com.leyou.common.annotation.EnableExceptionAdvice;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author 虎哥
 */
@MapperScan(basePackages = "com.leyou.item.mapper")
@EnableExceptionAdvice
@SpringBootApplication
public class ItemApplication {

    @Autowired

    public static void main(String[] args) {
        SpringApplication.run(ItemApplication.class, args);
    }
}
